package com.wwl.cms.utils.designModeTest.responsibilitychain;

import lombok.Data;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/27 19:39
 * @description:
 */
@Data
public class PurchaseRequest {
    private int type = 0;//请求类型
    private  float price = 0.0f;//请求金额
    private int id = 0;
    //构造器

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }
}
